﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AukcjeInternetowe.Models
{
    public class ItemCategoryModel
    {
        public int Id { get; set; }

        public int UserId { get; set; }

        [DisplayName("Nazwa przedmiotu")]
        public string Title { get; set; }

        public string Description { get; set; }

        [DisplayName("Aktualna cena")]
        public double ActualPrice { get; set; }

        [DisplayName("Data zakończenia")]
        public DateTime EndDate { get; set; }

        public String ImageURL { get; set; }

        [UIHint("CategorySelectControl")]
        public int CategoryId { get; set; }
    }
}